package cn.iflags.Mall.pojo;

import java.util.Date;

public class Paste {
    private Integer id;

    private String paste_key;

    private String titleName;

    private String syntax;

    private String style;

    private String detail;

    private String ip;

    private Date createTime;

    private Date updateTime;

    public Paste(Integer id, String paste_key, String titleName, String syntax, String style, String detail, String ip, Date createTime, Date updateTime) {
        this.id = id;
        this.paste_key = paste_key;
        this.titleName = titleName;
        this.syntax = syntax;
        this.style = style;
        this.detail = detail;
        this.ip = ip;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Paste() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPaste_key() {
        return paste_key;
    }

    public void setPaste_key(String paste_key) {
        this.paste_key = paste_key == null ? null : paste_key.trim();
    }

    public String getTitleName() {
        return titleName;
    }

    public void setTitleName(String titleName) {
        this.titleName = titleName == null ? null : titleName.trim();
    }

    public String getSyntax() {
        return syntax;
    }

    public void setSyntax(String syntax) {
        this.syntax = syntax == null ? null : syntax.trim();
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style == null ? null : style.trim();
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail == null ? null : detail.trim();
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}